Pelecardwc\Gateway D

Total Complexity 312
Dependencies 14
Dependents 7
Total lines 1,996
Lines of code 1,348
Logical lines of code 788
Comment lines 208
Methods 98
Properties 5

Methods 98

Method Rating Maintainability Complexity Lines of code
maybe_process_redirect_order()
C
30 28 119
handle_redirect_transaction()
B
37 19 74
process_refund()
B
33 15 102
do_payment()
B
39 16 69
charge_by_order()
A
41 11 53
process_payment()
A
48 8 34
scheduled_subscription_payment()
A
42 6 51
should_process_ipn_transaction()
S
51 7 28
wcml_translated_keys()
S
56 7 16
get_saved_payment_method_option_html()
S
46 5 43
maybe_save_payment_method()
S
58 5 15
was_processed_by_get_transaction()
S
59 5 14
validate_payment_range_field()
S
60 5 13
set_auth_number()
S
51 4 26
check_ipn_response()
S
56 4 17
ajax_check_order_status()
S
57 4 17
should_process_redirect_transaction()
S
58 4 16
log_transaction_details()
S
58 4 15
get_order_id_from_request()
S
59 4 14
get_custom_payment()
S
62 4 11
handle_3ds_failure_redirect()
S
50 2 40
add_payment_method()
S
55 3 21
has_subscription()
S
70 4 6
is_subscription_related_order()
S
67 4 8
get_option()
S
59 3 14
form()
S
59 3 14
charge_by_token()
S
59 3 14
handle_ipn_transaction()
S
60 3 13
receipt_page()
S
52 2 27
get_minimum_payments()
S
62 3 11
get_maximum_payments()
S
62 3 11
validate_ipn_data()
S
63 3 11
change_subs_payment_method()
S
55 2 19
set_language()
S
64 3 10
skip_transaction_validation()
S
66 3 9
get_terminal()
S
75 3 4
get_username()
S
75 3 4
get_password()
S
75 3 4
save_payment_method_checkbox()
S
66 3 9
get_checkout_total()
S
66 3 8
get_validated_token()
S
65 3 8
validate_total_payments()
S
64 3 8
get_total_payments()
S
70 3 6
was_processed_via_redirect()
S
65 3 10
is_refund_transaction()
S
68 3 7
get_supported_cards()
S
59 2 14
handle_timeout_transaction()
S
61 2 13
order_save_auth_number()
S
63 2 11
register_hooks()
S
54 1 21
get_supports()
S
58 1 18
__construct()
S
56 1 17
maybe_display_tokenization()
S
74 2 4
disable_payments_for_subscription()
S
79 2 3
cart_contains_subscription()
S
70 2 6
saved_payment_methods()
S
72 2 6
is_subs_change_payment()
S
78 2 3
get_order_payment_token()
S
66 2 9
get_new_payment_method_option_html()
S
72 2 6
is_using_saved_payment_method()
S
75 2 4
update_order_payment_token()
S
69 2 7
get_subscriptions_for_order()
S
70 2 6
save_token()
S
66 2 9
get_user_nonce()
S
70 2 6
get_order_total_payments()
S
75 2 4
has_auth_number()
S
69 2 6
get_timeout_url()
S
68 2 7
get_redirect_transaction_id()
S
64 2 10
is_subscription_renewal_order()
S
70 2 6
filter_array_settings()
S
75 1 4
get_icon()
S
74 1 4
get_title()
S
78 1 3
get_has_fields()
S
79 1 3
get_method_title()
S
78 1 3
get_method_description()
S
78 1 3
get_order_button_text()
S
78 1 3
get_saved_cards()
S
74 1 4
init_form_fields()
S
80 1 3
is_wcml_active()
S
80 1 3
generate_payment_range_html()
S
79 1 3
check_if_exists_saved_card()
S
77 1 4
get_hook_terminal()
S
80 1 3
get_common_terminal()
S
80 1 3
get_hook_forieng_card()
S
80 1 3
get_action_type()
S
82 1 3
set_action_type()
S
77 1 4
failing_payment_method_update()
S
76 1 4
get_credit_card_type_labels()
S
66 1 8
get_minimum_credit_payments()
S
79 1 3
get_total_payments_range()
S
79 1 3
get_checkout_payment_token()
S
74 1 4
update_order_token_ids()
S
79 1 3
order_mark_as_chargeable()
S
76 1 4
order_save_3ds_params()
S
70 1 6
is_order_chargeable()
S
79 1 3
order_save_payment_method()
S
80 1 3
order_save_total_payments()
S
76 1 4
set_total_payments()
S
77 1 4
is_partial_payment_transaction()
S
76 1 4